package com.gitee.neuray.security.par.scoreManage.mapper;

import com.gitee.neuray.security.common.util.Query;
import com.gitee.neuray.security.par.scoreManage.entity.*;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 考评表
 *
 * @author dev
 * @email ${email}
 * @date 2020-08-27 09:39:50
 */
public interface ParExamInfoMapper extends Mapper<ParExamInfoEntity> {

    List<ParExamInfoVO> page(Query query);
    List<Map> getAllOrg();
    List<ParExamItemVO> getItemByPlan(@Param("planId")String planId);
    void addItem(ParExamItemVO parExamItemVO);
    List<ParWorkInfoEntity> getWorkInfo(Query query);
    List<ParExamCateVO> getCate(Query query);
    List<ParExamItemVO> getItem(Map<String,Object> param);
    void addScore(ParExamScoreEntity parExamScoreEntity);
    List<ParExamScoreEntity> getScore(Map<String,Object> param);
    void delScore(@Param("kpxmbid")String kpxmbid);
    List<ParExamInfoVO> personPage(Query query);
    List<Map> getUserByOrgCode(@Param("orgCode")String orgCode);
}
